package com.example.ihs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author universe
 * @since 2024-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 视频名称
     */
    private String title;

    /**
     * 视频简介
     */
    private String description;

    /**
     * 文件上传地址
     */
    private String fileUrl;

    /**
     * 上传用户ID
     */
    private Integer uploaderId;

    /**
     * 视频分类
     */
    private String category;

    /**
     * 播放量
     */
    private Integer views;


}
